package com.dubbo.dubboconsumer.controller;

import com.dubbo.service.HelloService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {

    @DubboReference
    private HelloService helloService;

    public String sayHello () {
        return helloService.SayHello();
    }
}
